<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments/fragment_head :: head">

</head>
<body>
<nav th:replace="fragments/top_header :: header(2)"></nav>
<div class="container">
    <h3 th:text="${userModel.title}">增加用户原型</h3>
    <form action="list.html" th:action="@{/users}" method="POST" th:object="${userModel.user}">
        <input type="hidden" name="id" th:value="*{id}">
        <div class="form-group">
            <table for="exampleInputFile">名称：</table>
            <input class="form-control" type="text" name="name" th:value="*{name}">
        </div>
        <input class="btn btn-primary" type="submit" value="提交"/>
    </form>
    <br/>
</div>
<footer th:replace="fragments/foor_footer :: footer"></footer>
</body>
</html>